package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;

import java.util.List;

public interface StudentService {

    PageResult list(String name, Integer degree, Integer clazzId, Integer page, Integer pageSize);

    void add(Student student);

    Student queryById(Integer id);

    void update(Student student);

    void updateViolation(Integer id, Integer score);

    void delete(Integer[] ids);
}
